<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>IPCalculator</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>

</head>
<body>
<div id = app>
    <h1>{{ message }}</h1>
</div>
<div id = calc>
    <label>IP Address: </label>
    <input type="text" v-model="ip_addr" placeholder="IP">
    <label>Net Mask: </label>
    <input type="text" v-model="net_mask" placeholder="Mask">
    <button v-on:click="calcIP">Calc IP</button>
    <br>
    <li v-for="(value, key, index) in info">
        <p>{{ index }} {{ key }}: {{ value }}</p>
    </li>
</div>
<script src="../static/js/index.js"></script>
</body>
</html>